#ifndef ALGEBRAIC_HELP_H_H
#define ALGEBRAIC_HELP_H_H
#include <stdlib.h>
#include <stdio.h>
#include "common.h"
#include "basic_op.h"

typedef struct
{
	int pos ;
	int size ;
	int round ;
}file_error;

void file_error_help( FILE* ARoundFp , file_error* error_data ,FILE* BRoundFp ) ;
void file_error_result( FILE* ARoundFp , FILE* BRoundFp ) ;
void assign_cresult( FILE* afp , nibble result_val[] , int n ) ;
void assign_ccresult( FILE* afp , nibble result_val[] , int n ) ;
void get_result( FILE* afp , int round , FILE* bfp ) ;
void nextroundchange( FILE* FIRSTfp , int round , FILE* NEXTfp , FILE* THIRDfp )  ;
void assign_cresult( FILE* afp , nibble result_val[] , int n ) ;
void assign_ccresult( FILE* afp , nibble result_val[] , int n ) ;

#endif